<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Bootstrap Template</title>
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" type="text/css" href="../bootstrap3/css/bt3.css">
<link rel="stylesheet" type="text/css" href="../bootstrap3/font-awesome-4.7.0/css/font-awesome.css"/>

  <style>
    body{
      background-color: #2e2e2e;
    }
    /*导航条样式*/
    .navbar{
      background-color: black;
      border: 0;
      margin-top: 10px;
    }
    .navbar-brand>img{
      margin-top: -12px;
    }
    /*搜索框样式*/
    form>input{
      background-color: #383838;
      color: #a9a8a8;
      height: 30px;
      border-radius: 20px;/*为了实现半圆效果*/
      border: 0;
      margin-top: 10px;
      padding: 10px 20px;
      outline: none;/*去掉外边框*/
    }
    form>button{
      background-color: rgba(0,0,0,0);/*设置背景透明*/
      border: 0;
      color: #a9a8a8;
      position: relative;
      right: 40px;
    }
    .nav.navbar-nav>li>a:hover{
      color: #ffc600;
    }
    /*瀑布流相关样式*/
    .grid-item{
      width: 200px;/*设置瀑布流中每一个元素的宽度为200*/
      margin: 0 10px 10px 0;/*设置瀑布流元素之间的间距*/
    }
    /*右侧浏览最多样式*/
    .list-group-item{
      background-color: black;
      border: 0;
      color: #ffc600;
    }
    .list-head{
      background-color: #ffc600;
      color:black;
    }

    .well{
      background-color: black;
      color: #ffc600;
      font-width: bold;
      text-align: center;
      border: 0;
    }

  </style>

</head>
<body>
<!--container 为了居中-->
<header class="container">
<!--导航条开始-->
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">
        <img alt="Brand" src="images/logo.png">
      </a>
    </div>
    <!--分类标签开始-->
    <ul class="nav navbar-nav">
      <li><a href="">首页</a></li>
      <li><a href="">手绘</a></li>
      <li><a href="">次时代</a></li>
      <li><a href="">雕刻</a></li>
      <li><a href="">室内设计</a></li>
      <li><a href="">地图编辑</a></li>
      <li>
        <form action="">
          <input type="text" placeholder="Search">
          <button type="submit">
            <i class="fa fa-search"></i>
          </button>
        </form>
      </li>

    </ul>
    <!--分类标签结束-->

    <!--右侧列表开始-->
    <ul class="nav navbar-nav navbar-right">
      <li><a href="" class="fa fa-user-circle-o">管理员入口</a></li>
    </ul>
    <!--右侧列表结束-->
  </div>
</nav>
<!--导航条结束-->
</header>

<section class="container">
  <!--轮播图开始-->
  <div id="myCarousel" class="carousel slide">
    <!-- 轮播（Carousel）指标 -->
    <ol class="carousel-indicators">
      <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
      <li data-target="#myCarousel" data-slide-to="1"></li>
      <li data-target="#myCarousel" data-slide-to="2"></li>
    </ol>
    <!-- 轮播（Carousel）项目 -->
    <div class="carousel-inner">
      <div class="item active">
        <img src="images/banner0.jpg" alt="First slide">
      </div>
      <div class="item">
        <img src="images/banner1.jpg" alt="Second slide">
      </div>
      <div class="item">
        <img src="images/banner2.jpg" alt="Third slide">
      </div>
    </div>
    <!-- 轮播（Carousel）导航 -->
    <a class="carousel-control left" href="#myCarousel"
       data-slide="prev"> <span _ngcontent-c3="" aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span></a>
    <a class="carousel-control right" href="#myCarousel"
       data-slide="next">&rsaquo;</a>
  </div>
  <!--轮播图结束-->
  <!--栅格划分9:3-->
  <div class="row">
    <div class="col-md-9">
    <!--瀑布流开始-->
    <div class="grid">

      <div class="grid-item">
      <a href="">
        <img class="img-responsive" src="../day02/0.png" alt="">
      </a>
      </div>

      <div class="grid-item">
        <a href="">
        <img class="img-responsive" src="../day02/1.png" alt="">
        </a>
      </div>

      <div class="grid-item">
        <a href="">
          <img class="img-responsive" src="../day02/2.png" alt="">
        </a>
      </div>

      <div class="grid-item">
        <a href="">
          <img class="img-responsive" src="../day02/3.png" alt="">
        </a>
      </div>

      <div class="grid-item">
        <a href="">
          <img class="img-responsive" src="../day01/0.jpg" alt="">
        </a>
      </div>

      <div class="grid-item">
        <a href="">
          <img class="img-responsive" src="../day02/img.png" alt="">
        </a>
      </div>

      <div class="grid-item">
        <a href="">
          <img class="img-responsive" src="../day02/picture/0.png" alt="">
        </a>
      </div>

      <div class="grid-item">
        <a href="">
          <img class="img-responsive" src="../day02/libai.jpg" alt="">
        </a>
      </div>

    </div>
    <!--瀑布流结束-->



    </div><div class="col-md-3">
    <ul class="list-group">
      <li class="list-group-item list-head">
        <h4>
          <i class="fa fa-eye">浏览最多</i>
        </h4>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
    </ul>

    <!--最受欢迎开始-->
    <ul class="list-group">
      <li class="list-group-item list-head">
        <h4>
          <i class="fa fa-thumbs-o-up">最受欢迎</i>
        </h4>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
      <li class="list-group-item">
        <!-- 左对齐 -->
        <div class="media">
          <div class="media-left">
            <img src="../day02/2.png" class="media-object" style="width:60px">
          </div>
          <div class="media-body">
            <h4 class="media-heading">左对齐</h4>
            <p>这是一些示例文本...</p>
          </div>
        </div>
      </li>
    </ul>

    <!--最受欢迎结束-->

  </div>
  </div>
</section>

<footer class="container">
  <div class="well">
    Copyright © 北京达内金桥科技有限公司版权所有 京ICP备12003709号-3 京公网安备 11010802029572号

  </div>

</footer>

</body>
<script type="text/javascript" src="../bootstrap3/jquery.min.js"></script>
<script type="text/javascript" src="../bootstrap3/js/bootstrap.js"></script>
<script type="text/javascript" src="../bootstrap3/js/holder.js"></script>
<script type="text/javascript" src="../bootstrap3/js/html5shiv.min.js"></script>
<script type="text/javascript" src="../bootstrap3/js/css3-mediaqueries.js"></script>
<script type="text/javascript" src="../bootstrap3/js/respond.min.js"></script>

<!--引入瀑布流相关框架文件-->
<script src="js/masonry.pkgd.min.js"></script>
<script src="js/imagesloaded.pkgd.js"></script>
<script>
  //瀑布流相关初始化代码
  $(".grid").masonry({
    itemSelector:".grid-item",//告诉框架选择到瀑布流元素的选择器是什么
    columnWidth: 210  //因为css设置每个元素宽度为 200 但是有10个像素的间距
  })

  $(".grid").imagesLoaded().progress(function () {
    //图片加载完之后会执行此代码
    $(".grid").masonry("layout");//让瀑布流重新计算显示效果 解决图片层叠问题
  });
</script>
</html>